<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Defaultold.aspx.cs" Inherits="Default"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
	<telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
	<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
		<Scripts>
			<%--Needed for JavaScript IntelliSense in VS2010--%>
			<%--For VS2008 replace RadScriptManager with ScriptManager--%>
			<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
			<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
			<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
		</Scripts>
	</telerik:RadScriptManager>
	<script type="text/javascript">
	    //Put your Java Script code here.
    </script>
	<%--<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" RestoreOriginalRenderDelegate="false">
	</telerik:RadAjaxManager>--%>
 
	<telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Windows7">
	</telerik:RadSkinManager>
	<div>
    <asp:Label ID="LabelResult" runat="server" Text="entitydatasourceupdated"></asp:Label>
    <asp:DropDownList ID="DropDownList1" runat="server" 
             DataTextField="Name" 
            DataValueField="Role_ID" DataSourceID="EntityDataSourceroles"></asp:DropDownList>
	    <asp:EntityDataSource ID="EntityDataSourceroles" runat="server" 
            ConnectionString="name=BSCEntities" DefaultContainerName="BSCEntities" 
            EnableFlattening="False" EntitySetName="Roles" Select="it.[Role_ID], it.[Name]">
        </asp:EntityDataSource>
	</div>
    <asp:Button ID="b1" runat="server" Text="LoadRoles" click="Click1" />
    <asp:Button ID="b2" runat="server" Text="Load Text" click="Click2" />

    <asp:DropDownList ID="nodes" runat="server" ></asp:DropDownList>

    <asp:Label ID="jazyk" runat="server" Text="<%$ Resources:Labels, jazyk %>"></asp:Label>
    <asp:Localize ID="Label1" runat="server" Text="<%$ Resources:Labels, jazyk %>"></asp:Localize>
    <br />
    <asp:Label ID="info" runat="server" Text="info: "></asp:Label>
   <br />
   <asp:Button ID="bjazyk" runat="server" Text="slovak" onclick="bjazyk_Click1" />
	</form>
</body>
</html>
